<?php

/**
 * @file
 * This file is empty by default because the base theme chain (Alpha & Omega) provides
 * all the basic functionality. However, in case you wish to customize the output that Drupal
 * generates through Alpha & Omega this file is a good place to do so.
 *
 * Alpha comes with a neat solution for keeping this file as clean as possible while the code
 * for your subtheme grows. Please read the README.txt in the /preprocess and /process subfolders
 * for more information on this topic.
 */
function infinite_breadcrumb($variables) {
	global $base_url, $language;
	//$path = $base_url.'/'.$language->language;
	$breadcrumb = $variables['breadcrumb'];
	//$variables['breadcrumb'][] = drupal_get_title();
	if (!empty($breadcrumb)) {
		// Provide a navigational heading to give context for breadcrumb links to
		// screen-reader users. Make the heading invisible with .element-invisible.
		$output = '<h2 class="element-invisible">' . t('You') . '</h2>';
		
		$output .= '<div class="eight columns" data-appear-top-offset="-100" data-animated="fadeInRight"><nav class="breadcrumbs"><ul>You are here: '. implode(' <li> ',  $breadcrumb) .'</li> > '.drupal_get_title(). '</li></ul></nav></div>';
		
		
		return $output;
	}
}